how to receive ether on smart contract

52

how to receive ether on smart contract -

Accepting payments in Ethere only requires 
a function with a payable keyword:

contract MyContract {

	function payMe() external payable {}

}

Comments

Submit
0 Comments